#!/bin/sh
city_codes=('130000'
'140000'
'150000'
'210000'
'220000'
'230000'
'320000'
'330000'
'340000'
'350000'
'360000'
'370000'
'410000'
'420000'
'430000'
'440000'
'450000'
'460000'
'510000'
'520000'
'530000'
'540000'
'610000'
'620000'
'630000'
'640000'
'650000'
'110000'
'310000'
'120000'
'500000'
)
i=0
for variable in "${city_codes[@]}"
do
  echo  $variable
  echo  $i
  let t=i+1
  echo $t
  nohup python app.py --city_code $variable --start $i --end $t >nohup+$variable.out &
  let i++
done

python app.py --city_code '130000' --start 2 --end 3
